Component({
    properties: {
        datas: {
            type: null
        },
        component_id: {
            type: null
        }
    },
    data: {
        data_2: [],
        emptyImage: "https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/toutiao.png",
        clientWidth: "375",
        images: {}
    },
    lifetimes: {
        attached: function() {},
        moved: function() {},
        detached: function() {}
    },
    attached: function() {},
    ready: function() {
        this.setData({
            clientWidth: wx.getSystemInfoSync().windowWidth
        });
    },
    pageLifetimes: {
        show: function() {},
        hide: function() {},
        resize: function() {}
    },
    methods: {
        imageLoad: function(t) {
            var i = t.detail.width, e = t.detail.height, a = {
                width: i,
                height: e,
                ratio: i / e
            };
            this.setData({
                images: a
            });
        },
        gotoList: function() {
            wx.setStorageSync("headline", this.data.datas.list), wx.navigateTo({
                url: "/packageA/member/article/ArticleList/ArticleList"
            });
        }
    }
});